package com.fx.common.vo;

import java.util.LinkedList;
import java.util.List;

/**
 * des:
 *
 * @author fxiao
 * @date 2021/4/13 11:22
 */
public class TreeVo {
    private Long id;
    private String label;
    private List<TreeVo> children =new  LinkedList<>();

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public List<TreeVo> getChildren() {
        return children;
    }

    public void setChildren(List<TreeVo> children) {
        this.children = children;
    }

    public TreeVo(Long id, String label) {
        this.id = id;
        this.label = label;
    }

    public TreeVo() {
    }
}
